//
//  DeliveredJobListTableViewCell.h
//  CYWFrame
//
//  Created by 于顺燊 on 2018/9/24.
//  Copyright © 2018年 Macx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "InterviewManageModel.h"

@protocol DeliveredJobListCellDelegate1 <NSObject>

- (void)agreeInvitation:(NSString *)deliveryId;
- (void)rejectInvitation:(NSString *)deliveryId;

@end

@protocol DeliveredJobListCellDelegate2 <NSObject>

- (void) agreeDate:(NSString *)interviewId;
- (void) dicussDate:(NSString *)interviewId;
- (void) agreeEmploy:(BOOL)agree interviewId:(NSString *)interviewId;

@end


@interface DeliveredJobListTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *jobTitle;
@property (weak, nonatomic) IBOutlet UIImageView *Logo;
@property (weak, nonatomic) IBOutlet UILabel *companyName;
@property (weak, nonatomic) IBOutlet UILabel *timeL;
@property (weak, nonatomic) IBOutlet UILabel *interviewTime;
@property (weak, nonatomic) IBOutlet UILabel *salary;
@property (weak, nonatomic) IBOutlet UILabel *state;
@property (weak, nonatomic) IBOutlet UILabel *district;
@property (weak, nonatomic) IBOutlet UILabel *workExp;
@property (weak, nonatomic) IBOutlet UILabel *education;
@property (weak, nonatomic) IBOutlet UILabel *development;
@property (weak, nonatomic) IBOutlet UILabel *companySize;
@property (weak, nonatomic) IBOutlet UILabel *industry;
@property (weak, nonatomic) IBOutlet UIButton *rightBtn1;
@property (weak, nonatomic) IBOutlet UIButton *rightBtn2;
@property (weak, nonatomic) IBOutlet UILabel *remark;
@property (weak, nonatomic) IBOutlet UILabel *remarkL;
@property (weak, nonatomic) IBOutlet UIView *seperateLine;

//0为个人主动投递企业，不显示按钮，1为企业邀请个人，此时右下角按钮显示为同意/拒绝邀请。这两个是投递箱里的
//2为面试管理模块的已面试，3为已确认，其他一些按钮的隐藏与否看后台返回的状态码，以及是info被赋值了还是model被赋值了来区分。
@property (assign, nonatomic) NSInteger type;

@property (strong, nonatomic) NSDictionary *info;		//用于投递列表
@property (strong, nonatomic) InterviewManageModel *model;		//用于面试列表
@property (strong, nonatomic) id<DeliveredJobListCellDelegate1> delegate1;
@property (strong, nonatomic) id<DeliveredJobListCellDelegate2> delegate2;

@end
